<?php
namespace Src\utils;

class AuthEnum extends ResponseEnum
{
    const VALIDATE_FAILED = ['code' => 510, 'message' => 'Invalid data'];
    const USER_ALREADY_EXISTS = ['code' => 511, 'message' => 'Username or email already exists'];
    const REGISTER_SUCCESS = ['code' => 200, 'message' => 'Register success'];
    // Invalid username or password
    const INVALID_CREDENTIALS = ['code' => 512, 'message' => 'Invalid username or password'];
    // Current password is incorrect
    const INVALID_CREDENTIALS_PASSWORD = ['code' => 513, 'message' => 'Current password is incorrect'];
    // Password changed successfully
    const PASSWORD_CHANGED_SUCCESS = ['code' => 200, 'message' => 'Password changed successfully'];
    // normal successfully
    const STATUS_SUCCESS = ['code' => 200, 'message' => 'ok'];

}